package fr.utbm;

import java.io.Serializable;

public class User implements Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	protected Integer id;
	private String username;
	private String password;
	private int type;
	private String profil_nom;
	private String profil_prenom;
	private int profil_age;
	private double profil_taille;
	private String profil_photo_url;
	
	public User() {
		id = 0;
		username = "";
		password = "";
		type = 0;
		profil_nom = "";
		profil_prenom = "";
		profil_age = 0;
		profil_taille = 0;
		profil_photo_url = "";
	}
	
	public User(int id, String username, String password, int type,
			String profil_nom, String profil_prenom, int profil_age,
			double profil_taille, String profil_photo_url) {
		
		this.id = id;
		this.username = username;
		this.password = password;
		this.type = type;
		this.profil_nom = profil_nom;
		this.profil_prenom = profil_prenom;
		this.profil_age = profil_age;
		this.profil_taille = profil_taille;
		this.profil_photo_url = profil_photo_url;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public String getProfil_nom() {
		return profil_nom;
	}

	public void setProfil_nom(String profil_nom) {
		this.profil_nom = profil_nom;
	}

	public String getProfil_prenom() {
		return profil_prenom;
	}

	public void setProfil_prenom(String profil_prenom) {
		this.profil_prenom = profil_prenom;
	}

	public int getProfil_age() {
		return profil_age;
	}

	public void setProfil_age(int profil_age) {
		this.profil_age = profil_age;
	}

	public double getProfil_taille() {
		return profil_taille;
	}

	public void setProfil_taille(double profil_taille) {
		this.profil_taille = profil_taille;
	}

	public String getProfil_photo_url() {
		return profil_photo_url;
	}

	public void setProfil_photo_url(String profil_photo_url) {
		this.profil_photo_url = profil_photo_url;
	}
	
	

}
